package com.schedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.schedule.pojo.Role;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author star
 * @since 2022-02-12
 */
public interface IRoleService extends IService<Role> {

    /**
     * 根据名字查找角色
     * @return
     */
    Role getRoleByName(String name);
}
